package com.ruoyi.tranShort.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 手环管理对象 short_wristband_dervice
 * 
 * @author ruoyi
 * @date 2021-08-09
 */
public class ShortWristbandDervice extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 类型 */
    @Excel(name = "类型")
    private Long type;

    /** 编号 */
    @Excel(name = "编号")
    private String code;

    /** 设备码 */
    @Excel(name = "设备码")
    private String derviceCode;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setType(Long type) 
    {
        this.type = type;
    }

    public Long getType() 
    {
        return type;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    public void setDerviceCode(String derviceCode) 
    {
        this.derviceCode = derviceCode;
    }

    public String getDerviceCode() 
    {
        return derviceCode;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("type", getType())
            .append("code", getCode())
            .append("derviceCode", getDerviceCode())
            .append("createTime", getCreateTime())
            .toString();
    }
}
